﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UClaimDemageControlSupplerDetailList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UClaimDemageControlSupplerDetailList" %>


<form id="pagerForm" method="post" action="UserModel/UClaimDemageControlSupplerDetailList.aspx">
<input type="hidden" name="SupplerName" value="<%=SupplerName %>" />
<input type="hidden" name="CommonFiled" value="<%=CommonFiled %>" />
<input type="hidden" name="CommonValue" value="<%=CommonValue %>" />
<input type="hidden" name="DownlineDateFrom" value="<%=DownlineDateFrom %>" />
<input type="hidden" name="DownlineDateTo" value="<%=DownlineDateTo %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<style>
    .UClaimDemageList_Row2 td{ border-bottom-width:1px!important; border-bottom-color:#000!important;}
</style>
  
<form id="form1" runat="server" method="post" action="UserModel/UClaimDemageControlSupplerDetailList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageContent" width="1500">    
              
    <div class="searchBar">
      
        <table class="searchContent">
            <tr>
                <td>
                    <b>查询条件：</b>
                </td>
                <td>
                    供应商:
                     <input type="text"  name="SupplerName" class="autocomplete" value="<%=SupplerName %>" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getsupplierlist" swidth="300px" showinputid=""/>
                </td>                
                <td>
                    <select name="CommonFiled" class="combox">
                        <option value="ClaimsNumber" <%=CommonFiled=="ClaimsNumber"?"selected":"" %>>品情单号</option>
                        <option value="SerialNumber" <%=CommonFiled=="SerialNumber"?"selected":"" %>>机号</option>
                        <%--
                        <option value="ItemCode" <%=CommonFiled=="ItemCode"?"selected":"" %>>物料号</option>
                        <option value="Dscription" <%=CommonFiled=="Dscription"?"selected":"" %>>物料名称</option>
                        <option value="U_InvoiceNum" <%=CommonFiled=="Dscription"?"selected":"" %>>发货单号</option>
                        <option value="InOrderNum" <%=CommonFiled=="InOrderNum"?"selected":"" %>>旧件相关单号</option>--%>
                    </select>
                 </td>
                 <td>
                    等于：
                 </td>
                 <td>
                    <input name="CommonValue" type="text"  style="width:80px;" value="<%=CommonValue %>" />
                </td>
                             
                <td>
                    接到故障日：
                    从<input name="DownlineDateFrom" class="date" type="text" value="<%=DownlineDateFrom %>" style="width:80px;"/>到<input
                        name="DownlineDateTo" type="text" class="date" value="<%=DownlineDateTo %>" style="width:80px;"/>
                </td>
                <td>
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive">
                                    <div class="buttonContent">
                                        <button type="submit">
                                            检索</button></div>
                                </div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>                        
        </table>
    </div>
    <div class="panelBar">
        <ul class="toolBar">          
                <% if (HasPower(IHISCETeim.Web.Permission.导出))
                {%>
            <li><a class="icon" href="UserModel/ExportExecl/ExportUClaimDemageControlSupplerDetailList.aspx?SupplerName=<%=SupplerName %>&orderField=<%=orderField %>&orderDirection=<%=orderDirection %>&DownlineDateFrom=<%=DownlineDateFrom %>&DownlineDateTo=<%=DownlineDateTo %>&CommonFiled=<%=CommonFiled %>&CommonValue=<%=CommonValue %>" target="_blank" title="确定要导出吗?"><span>导出</span></a></li>
            <%} %>
        </ul>
                   
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>       
        <table class="table"  width="100%" layouth="125"  >                                                                                                                <thead>           
        <tr  >        
            <th align="left" width="100">
                品情单号
            </th>           
            <th  orderField="SerialNumber" class="asc" width="100">
                机号
            </th>            
            <th  width="100">
                接到故障日
            </th>              
            <th width="100">索赔单号</th>
            <th width="100">供应商</th>            
            <th width="100" align="center">
                索赔美元
            </th>      
            <th width="100">
                索赔日元
            </th>
            <th width="100">
                索赔人民币
            </th>
            <th width="100" title="向供应商索赔总金额">
                索赔配件
            </th>
            <th width="100">
                小计(RMB)
            </th>
            
            <th width="100">
                结算美元
            </th>
             <th width="100">
                结算日元
            </th>
             <th width="100">
                结算人民币
            </th>
            <th width="100">
                折成配件金额
            </th>
             <th width="100">
                小计(RMB)
            </th>
            <th  width="100">批复时间</th>
            <th  width="100">索赔提交时间</th>
        </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
        <tr target="sid_user" rel="<%# Eval("ClaimsNumber") %>"> 
            <td><%# Eval("ClaimsNumber")%></td>
			<td >
                <%# Eval("SerialNumber")%></td>          
			<td>
                <%# Convert.ToDateTime(Eval("FaultDate")).ToShortDateString()%>
            </td>
             <td><%# Eval("SuoPeiNum")%></td>
            <td ><%# Eval("SupplerName")%></td>         
            <td >
                <%# Eval("SupplerUS")%>
            </td>
            <td>
                <%# Eval("SupplerJPY")%>
            </td>
            <td>
                <%# Eval("SupplerRMB")%>
            </td>
             <td >
                <%# Eval("SupplerPartCost")%>
            </td>
            <td >
                <%# Eval("SupplerCostRMB")%>
            </td>
             <td >                
                <%# Eval("FinalInvoiUS")%>
            </td>
             <td >
                 <%# Eval("FinalInvoiJPY")%>
            </td>
             <td >
               <%# Eval("FinalInvoiRMB")%>
            </td>
             <td>
             <%# Eval("FinalPartCost")%>
            </td>
             <td>
             <%# Eval("FinalCostRMB")%>
            </td>
            <td><%# Eval("PiFuDate")%></td>
            <td><%# Eval("SupplerSubmitDate")%></td>
		</tr>
          
        </ItemTemplate>
        <FooterTemplate>         
           </tbody>
        </table>
        </FooterTemplate> 
    </asp:repeater>
     <table class="table"   width="100%" >                                                                                                                <thead>           
        <tr  >        
            <th align="left" width="110">
                
            </th>           
            <th   width="110">
                
            </th>            
            <th  width="110">
                
            </th>              
            
            <th width="110"></th>            
            <th width="110" align="center">
                
            </th>      
            <th width="110">
                
            </th>
            <th width="110">
                
            </th>
            <th width="110" title="向供应商索赔总金额">
                索赔小计:  
            </th>
            <th width="110">
                 <%=Convert.ToDecimal(GetUMDTValue("SupplerCostRMB")).ToString("F2")%>
            </th>
            
            <th width="110">
                
            </th>
             <th width="110">
                
            </th>
             <th width="110">
                
            </th>
            <th width="110">
                 结算小计
            </th>
             <th width="110">
                 <%=Convert.ToDecimal(GetUMDTValue("FinalCostRMB")).ToString("F2")%>
            </th>
        </tr>
        </thead>
        </table>
      <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                    <%=SetnumPerPage()%>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
                pagenumshown="10" currentpage="<%=pageNum %>">
            </div>
        </div>
</div>
</form>
